# file(GLOB  field_src_files
#     "*.f90"
# )

# set(sources-field-fpp 
# )
# fypp_preprocess("${sources-field-fpp}" sources-field-postfpp)
include_directories(${PROJECT_SOURCE_DIR}/include)
add_executable(field_primitive ex1.f90)
target_link_libraries(field_primitive field petsc_wrapper)
add_test(NAME field_primitive COMMAND field_primitive)
add_executable(field_conservative ex2.f90)
target_link_libraries(field_conservative field petsc_wrapper eos)
add_test(NAME field_conservative COMMAND field_conservative)
set_tests_properties(field_conservative PROPERTIES DEPENDS field_primitive)

# add_executable(field_transform ex3.f90)
# target_link_libraries(field_transform field petsc_wrapper)
# add_test(NAME test_field_transform COMMAND field_transform)
